Don't try to pretty-print non-lists as binding list
authorMichael Heerdegen <michael_heerdegen@web.de>
Sun, 12 May 2024 17:58:14 +0000 (19:58 +0200)
committerMichael Heerdegen <michael_heerdegen@web.de>
Mon, 27 May 2024 16:44:48 +0000 (18:44 +0200)
commit3580dc155c3c9f48fb1b7855b4d858eec3948dfb
tree42324c858d66d2c6ca43004547059da3a4fc7f67
parentdb6599818fa6ca7325c482b4aa1ce564688469ef
Don't try to pretty-print non-lists as binding list

* lisp/emacs-lisp/pp.el (pp--format-definition): Ensure that what we try
to print as a list of bindings has an appropriate format.  This avoids
raising an error for SEXPs like (let X Y) inside `pcase' forms where our
heuristic expects a binding list in the X position.
lisp/emacs-lisp/pp.el